[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Sorts the list in place. A supplied IComparer<T> is used
to compare the items in the list.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public void Sort( IComparer<T> comparer ) |
Visual Basic (Declaration) |
---|
Public Sub Sort ( _ comparer As IComparer(Of T) _ ) |
Visual C++ |
---|
public: void Sort ( IComparer<T>^ comparer ) |
Parameters
- comparer
- IComparer<(Of <T>)>
The comparer instance used to compare items in the collection. Only the Compare method is used.
Remarks
The Quicksort algorithms is used to sort the items. In virtually all cases,
this takes time O(N log N), where N is the number of items in the list.
See Also
BigList<(Of <T>)> Class
Wintellect.PowerCollections Namespace